//
//  WaterSearchTableViewCell.h
//  wsgz
//
//  Created by huck on 2017/5/6.
//  Copyright © 2017年 BoingPay. All rights reserved.
//

#import <UIKit/UIKit.h>

@class WaterInfoData;
typedef void(^FollowBlock) (NSUInteger value,NSUInteger rowIndex);


@interface WaterSearchTableViewCell : UITableViewCell
@property(nonatomic, copy)FollowBlock followBlock;//关注


@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *nameLabelW;
@property (weak, nonatomic) IBOutlet UILabel *countryLabel;


@property (weak, nonatomic) IBOutlet UIButton *notMyLikeBtn;
@property (weak, nonatomic) IBOutlet UIButton *myLikeBtn;
@property (weak, nonatomic) IBOutlet UIButton *infoBtn; //查看
@property (weak, nonatomic) IBOutlet UIButton *superviseBtn;  //巡查
@property (weak, nonatomic) IBOutlet UIButton *dealBtn;  //整改
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *actionBtnW; //65

@property (weak, nonatomic) IBOutlet UILabel *label1;
//@property (weak, nonatomic) IBOutlet UILabel *directLabel;
//@property (weak, nonatomic) IBOutlet UIImageView *directIcon;
@property (weak, nonatomic) IBOutlet UILabel *scoutTimeLabel;


//cell点击
- (IBAction)cellClick:(UIButton *)sender;

- (IBAction)likeBtnClick:(UIButton *)sender;

- (IBAction)infoBtnClick:(UIButton *)sender;

- (IBAction)superviseBtnClick:(UIButton *)sender;

- (IBAction)dealBtnClick:(UIButton *)sender;


- (void)setInfo:(WaterInfoData *)data index:(NSInteger)index;


@end
